//
//  UserLeftViewController.m
//  SportSocial
//
//  Created by yull on 15/1/12.
//  Copyright (c) 2015年 yull. All rights reserved.
//

#import "UserLeftViewController.h"

@interface UserLeftViewController()

@property (nonatomic, strong) UIScrollView *leftScrollView;

@end

@implementation UserLeftViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    self.leftScrollView = [[UIScrollView alloc] initWithFrame:self.view.bounds];
    self.leftScrollView.contentSize = CGSizeMake(self.view.width, self.view.height);
    self.leftScrollView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
    [self.view addSubview:self.leftScrollView];
}

- (void)setTopView:(UIView *)topView
{
    topView.top = 0.0f;
    [self.leftScrollView addSubview:topView];
}
@end
